package com.heima.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioProperties {
//    alibaba.oss.access-key-id=LTAI5t8Fk6FBNzvE6vRm4YS3
//    alibaba.oss.access-key-secret=zipLN8pVnyv22hGDaAXoedTVPUUgIw
//    alibaba.oss.bucket-name=yc-leadnews
//    alibaba.oss.endpoint=https://oss-cn-beijing.aliyuncs.com
    private String endpoint="https://oss-cn-beijing.aliyuncs.com";
    private String accessKey="LTAI5t8Fk6FBNzvE6vRm4YS3";
    private String secretKey="zipLN8pVnyv22hGDaAXoedTVPUUgIw";
    private String bucketName="yc-leadnews";
}